import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public class OpenPlan {

    public static void main(String[] args) {

        String url = "http://weike.lanqiao.cn/course/openPlan.do";

        try {

            String json = "{opentime:2019-01-15,courseid:15}";
            Jsoup.connect(url)
                    .requestBody(json)
                    .header("Content-Type", "application/json")
                    .cookie("JSESSIONID", "730D7F4401FBF7A9807704A00648F0DD")
                    .post();




        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
